package cc.ilzy.mall.api.controller;

import cc.ilzy.mall.model.pojo.Banner;
import cc.ilzy.mall.utils.ApiResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Api(value = "轮播图模块", tags = "轮播图模块")
@RequestMapping("/api/banner/v1")
public interface IBannerController {

    @ApiOperation(value = "轮播图列表接口", notes = "获取轮播图列表")
    @GetMapping("/list")
    ApiResponse<List<Banner>> list();
}
